x11: Factor out some of frame sync code into subroutines
authorRay Strode <rstrode@redhat.com>
Tue, 2 Jun 2020 20:29:03 +0000 (16:29 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 5 Jun 2020 14:01:13 +0000 (10:01 -0400)
commitf8770b78ea87751407f94e39282eeca3ba04ca09
tree12a93d1d7a2f4da03d028e63078c3d540e0126d2
parent10f2b11fda3cd3d92d8333babbeb4e8ca2dbea16
x11: Factor out some of frame sync code into subroutines

This commit moves some of the end frame sync counter handling
code to subroutines.

It's a minor readability win, but the main motivation is to
make it easier in a subsequent commit to defer updating the
sync counter until a more appropriate time.
gdk/x11/gdksurface-x11.c